package moon.core.inheritance;

import moon.core.ObjectMoon;
import moon.core.classdef.Property;

/**
 * Modifier.
 * 
 * @author <a href="mailto:rmartico@ubu.es">Ra&uacute;l Marticorena</a>
 *
 */
@SuppressWarnings("serial")
public abstract class Modifier extends ObjectMoon{
		
	/**
	 * Property affected by the modifier.
	 */
	private Property property;
	
	/**
	 * Constructor.
	 * 
	 * @param property property
	 */
	public Modifier(Property property){
		this.property = property;
	}
	
	/**
	 * Gets the property modified.
	 * 
	 * @return property
	 */
	public Property getProperty(){
		return property;
	}
	
} // Modifier
